package com.maolong.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.maolong.pojo.dto.RoleDTO;
import com.maolong.pojo.entity.Permission;
import com.maolong.pojo.entity.Role;
import org.apache.ibatis.annotations.Param;

public interface RoleMapper extends BaseMapper<Role> {

    IPage<Role> selectRolesByConditions(@Param("page") Page<Permission> page, @Param("roleDTO") RoleDTO roleDTO);
}
